﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UtilZ.Dotnet.Ex.Communication.Net.Ftp
{
    /// <summary>
    /// ftp响应接口
    /// </summary>
    internal abstract class FtpResponseAbs : IFtpResponse
    {
        /// <summary>
        /// 响应消息
        /// </summary>
        public string Message
        {
            get
            {
                return this.GetMessage();
            }
        }

        /// <summary>
        /// 
        /// </summary>
        public FtpResponseAbs()
        {

        }


        protected abstract string GetMessage();


    }
}
